var temp =new URLSearchParams(location.search);
var meetid=temp.get('meetid');




$(function () {

    $.ajax({
        url: "/meeting/checkRecordMessage",
        type: "POST",
        data:{"meetid":meetid},
        dataType: "json",
        success: function (result) {
            var str="";
            if (result!=null){
                str+="<li>\n" +
                    "            <label>会议内容</label>\n" +
                    "            <input name=\"con\" type=\"text\" id=\"con\" class=\"dfinput\" value="+result.content+"><span></span>\n" +
                    "        </li>\n" +
                    "\n" +
                    "        <li>\n" +
                    "            <label>开始时间</label>\n" +
                    "            <input name=\"starttime\" type=\"text\" id=\"starttime\" class=\"dfinput\" value=\""+result.time+"\" pattern='yyyy-MM-dd HH:mm:ss'><span></span>\n" +
                    "        </li>\n" +
                    "        <li>\n" +
                    "            <label>结束时间</label>\n" +
                    "            <input name=\"endtime\" type=\"text\" id=\"endtime\" class=\"dfinput\" value=\""+result.entime+"\" pattern='yyyy-MM-dd HH:mm:ss'><span></span>\n" +
                    "        </li>\n" +
                    "        <li>\n" +
                    "            <label>主持人</label>\n" +
                    "            <input name=\"sp\" type=\"text\" id=\"sporsorid\" class=\"dfinput\" value="+result.name+"><span></span>\n" +
                    "        </li>\n" +
                    "        <li>\n" +
                    "            <label>&nbsp;</label>\n" +
                    "            <input name=\"\" type=\"button\" class=\"btn\" value=\"返回\" onclick=\"window.history.back()\" />\n" +
                    "        </li>"
            }
            if (result==null){
                str +="<input name=\"\" type=\"button\" class=\"btn\" value=\"返回\" onclick=\"window.history.back()\" />";
            }
            $(".forminfo").html(str);


        }

    });
})